//
//  YZDiseaseChoseView.m
//  名医通
//
//  Created by WGP on 16/5/3.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import "YZDiseaseChoseView.h"

@interface YZDiseaseChoseView ()

@end

@implementation YZDiseaseChoseView

+(instancetype)diseaseChoseViewWith:(NSString *)title
{
    YZDiseaseChoseView *diseaseChoseView = [[NSBundle mainBundle] loadNibNamed:@"YZDiseaseChoseView" owner:nil options:nil].lastObject;
    diseaseChoseView.diseaseTypeLabel.text = title;
    return diseaseChoseView;
}


- (IBAction)btnDidClick:(UIButton *)sender {
    
    if ([self.delegate respondsToSelector:@selector(diseaseChoseViewWith:)]) {
        
        [self.delegate diseaseChoseViewWith:self];
    }
    
}

@end
